lsb_release shows linux distribution version

man lsb_release
lsb_release -a

or we can view files named like /etc/*release